package com.pan.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Schema(description = "用户展示界面所能获取到的信息")
public class Zhanshi implements Serializable {
    private static final long serialVersionUID = 1L;
    //展示界面
    @Schema(description = "编号", example = "1")
    private Integer id;
    @Schema(description = "姓名", example = "猪猪侠")
    private String name;
    @Schema(description = "性别", example = "女")
    private String sex;
    @Schema(description = "年龄", example = "17")
    private Integer age;
    @Schema(description = "地址", example = "日本")
    private String address;
    @Schema(description = "邮箱号", example = "178293189@163.com")
    private String email;
    @Schema(description = "部门名称，与部门编号相匹配", example = "研发部门")
    private String danme;
    @Schema(description = "岗位", example = "研发")
    private String position;
    @Schema(description = "薪水", example = "10000")
    private Integer salary;
    @Schema(description = "部门位置", example = "波士顿")
    private String loc;
}

